package com.anjbo.service.loan.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.anjbo.dao.app.loan.CgbMortgageMapper;
import com.anjbo.service.loan.CgbMortgageService;

@Service
public class CgbMortgageServiceImpl implements CgbMortgageService{
	
	@Resource
	private CgbMortgageMapper cgbMortgageMapper;

	@Override
	public int insertCgbMortgage(Map<String, Object> param) {
		return cgbMortgageMapper.insertCgbMortgage(param);
	}
	
	@Override
	public int insertCgbMortgageProgress(Map<String, Object> param) {
		return cgbMortgageMapper.insertCgbMortgageProgress(param);
	}

	@Override
	public int selectCgbCountByUid(Map<String, Object> param) {
		return cgbMortgageMapper.selectCgbCountByUid(param);
	}

	@Override
	public Map<String, Object> getCgbMortgageFirstProgress() {
		return cgbMortgageMapper.getCgbMortgageFirstProgress();
	}
	
	@Override
	public Map<String, Object> getCgbMortgageByOrderNo(Map<String, Object> param){
		return cgbMortgageMapper.getCgbMortgageByOrderNo(param);
	}
	
	@Override
	public List<Map<String, Object>> selectCgbOrderProgressList(){
		return cgbMortgageMapper.selectCgbOrderProgressList();
	}

}
